package cn.funeralobjects.upms.model;

import cn.funeralobjects.util.annotation.ArgHasLength;
import cn.funeralobjects.util.annotation.ArgNotZero;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 用户秘钥
 *
 * @author FuneralObjects
 * Create date: 2020/6/3 2:30 PM
 */
@Data
@Accessors(chain = true)
public class UserSecret {
    /**
     * 所属用户
     */
    @ArgNotZero
    private Integer userId;
    /**
     * 密钥
     */
    @ArgHasLength
    private String secretKey;
}
